Skip to content

Feature | Perks program#43

Merged
williamjaackson merged 27 commits intomasterfrom
feature/perks-program
Mar 22, 2026
Merged

Feature | Perks program#43
williamjaackson merged 27 commits intomasterfrom
feature/perks-program

Conversation

@williamjaackson
Copy link
Owner

@williamjaackson williamjaackson commented Mar 22, 2026

Overview

Introduce a member perks program, a way to showcase exclusive deals from partner companies to club members, and a CTA for potential perk partners to get in touch.

Summary of Changes

  • Add perks data (DataCamp, Red Bull) and logos to config/sponsors.yml
  • Render perk cards in a responsive grid (2/3/5/6 columns) on the home page with placeholder cards
  • Add a Stimulus-powered modal to show perk details with a link to the partner's site
  • Add a "Perks Program" CTA section on the sponsorship page for potential partners
  • Add perks program links to navbar sponsors dropdown and footer resources
  • Add sanity:check rake task that fails if perk count is a multiple of 6 (grid layout guard)
  • Add GitHub Actions workflow to run sanity checks on PRs to master
  • Add sanity checks step to local CI

Testing / QA

  • Visit the home page and verify the perks grid renders below sponsors with DataCamp and Red Bull cards plus placeholder cards
  • Click a perk card and verify the modal opens with the correct icon, name, description, and "Check it out" link
  • Verify the modal closes via backdrop click and Escape key
  • Resize the browser and verify the grid is responsive: 2 cols → 3 cols (sm) → 5 cols (md) → 6 cols (lg)
  • Verify the navbar "Sponsors" dropdown includes "Perks Program" linking to /sponsorship#perks-program
  • Verify the footer "Resources" column includes "Perks Program" linking to /sponsorship#perks-program
  • Visit /sponsorship and verify the perks program CTA section appears below the main CTA
  • Run bin/rails sanity:check and verify it passes with the current 2 perks

@williamjaackson williamjaackson self-assigned this Mar 22, 2026
@williamjaackson williamjaackson marked this pull request as ready for review March 22, 2026 14:40
@williamjaackson williamjaackson merged commit efc40b8 into master Mar 22, 2026
2 checks passed
@williamjaackson williamjaackson deleted the feature/perks-program branch March 22, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant